package com.example.egarticle.pojo.entity;

import lombok.Data;

@Data
public class Article {
//    id      BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '文章编号',
//    title   VARCHAR(20) COMMENT '文章标题',
//    content TEXT COMMENT '文章内容',
//    user_id BIGINT COMMENT '用户编号'
    private Long id;
    private String title;
    private String content;
    private Long userId;
}
